@fiale-plus/pi-rogue-bundle 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -13
- package/node_modules/@fiale-plus/pi-rogue-advisor/README.md +59 -0
- package/node_modules/@fiale-plus/pi-rogue-advisor/advisor/index.ts +1 -0
- package/node_modules/@fiale-plus/pi-rogue-advisor/assets/binary-gate-model.json +24026 -0
- package/node_modules/@fiale-plus/pi-rogue-advisor/package.json +50 -0
- package/node_modules/@fiale-plus/pi-rogue-advisor/skills/advisor/SKILL.md +51 -0
- package/node_modules/@fiale-plus/pi-rogue-advisor/src/completions.test.ts +28 -0
- package/node_modules/@fiale-plus/pi-rogue-advisor/src/completions.ts +79 -0
- package/node_modules/@fiale-plus/pi-rogue-advisor/src/extension.test.ts +257 -0
- package/node_modules/@fiale-plus/pi-rogue-advisor/src/extension.ts +1334 -0
- package/node_modules/@fiale-plus/pi-rogue-advisor/src/index.ts +3 -0
- package/node_modules/@fiale-plus/pi-rogue-advisor/src/internal.ts +48 -0
- package/node_modules/@fiale-plus/pi-rogue-advisor/src/loop-convergence.test.ts +301 -0
- package/node_modules/@fiale-plus/pi-rogue-advisor/src/preflight-signals.test.ts +22 -0
- package/node_modules/@fiale-plus/pi-rogue-advisor/src/preflight-signals.ts +21 -0
- package/node_modules/@fiale-plus/pi-rogue-advisor/src/router.test.ts +78 -0
- package/node_modules/@fiale-plus/pi-rogue-advisor/src/router.ts +516 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/README.md +56 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/orchestration/index.ts +1 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/package.json +44 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/skills/orchestration/SKILL.md +44 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/src/advisor-checkins.test.ts +142 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/src/advisor-checkins.ts +96 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/src/autoresearch-state.ts +70 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/src/autoresearch.test.ts +143 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/src/autoresearch.ts +139 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/src/completions.test.ts +23 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/src/completions.ts +53 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/src/extension.ts +23 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/src/goal-resolution.ts +36 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/src/goal.test.ts +182 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/src/goal.ts +232 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/src/index.ts +1 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/src/internal.ts +98 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/src/loop.ts +274 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/src/novelty-guard.test.ts +35 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/src/novelty-guard.ts +145 -0
- package/node_modules/@fiale-plus/pi-rogue-orchestration/src/state.ts +24 -0
- package/package.json +10 -2
package/README.md
CHANGED
|
@@ -1,32 +1,43 @@
|
|
|
1
1
|
# Pi-Rogue Bundle
|
|
2
2
|
|
|
3
|
-
`@fiale-plus/pi-rogue-bundle` is the
|
|
3
|
+
`@fiale-plus/pi-rogue-bundle` is the **single consolidated public artefact** for Pi-Rogue.
|
|
4
4
|
|
|
5
|
-
-
|
|
6
|
-
- `@fiale-plus/pi-rogue-orchestration`
|
|
5
|
+
It stitches together (and bundles for a true single-package install):
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
- `@fiale-plus/pi-rogue-advisor` (logic; direct releases paused)
|
|
8
|
+
- `@fiale-plus/pi-rogue-orchestration` (logic; direct releases paused)
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Direct installs of the advisor/orchestration packages are paused (marked private). All users and future releases go through the bundle. See `docs/release.md` and root `AGENTS.md` / `README.md` for the release policy.
|
|
11
|
+
|
|
12
|
+
## Install (recommended)
|
|
11
13
|
|
|
12
14
|
```bash
|
|
13
|
-
|
|
15
|
+
pi install npm:@fiale-plus/pi-rogue-bundle
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
For local monorepo dev:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
# from repo root
|
|
14
22
|
npm install
|
|
15
|
-
#
|
|
23
|
+
# then use workspace packages as needed (e.g. for testing changes to advisor/orch before a bundle release)
|
|
16
24
|
```
|
|
17
25
|
|
|
18
26
|
## Scope boundaries
|
|
19
27
|
|
|
20
28
|
- **Lab / internal helpers are excluded from this bundle.**
|
|
21
|
-
- `@fiale-plus/pi-rogue-bundle`
|
|
22
|
-
- Internal helper packages (`@fiale-plus/pi-rogue-guardrails`, `@fiale-plus/pi-rogue-brain`, `@fiale-plus/pi-rogue-repo-arch`) are maintained separately in the lab section.
|
|
29
|
+
- `@fiale-plus/pi-rogue-bundle` is the only published surface for the logic.
|
|
30
|
+
- Internal helper packages (`@fiale-plus/pi-rogue-guardrails`, `@fiale-plus/pi-rogue-brain`, `@fiale-plus/pi-rogue-repo-arch`) are maintained separately in the lab section and not published.
|
|
23
31
|
|
|
24
32
|
## Command surface
|
|
25
33
|
|
|
26
|
-
- `/advisor`, `/goal`, `/loop`, `/autoresearch`, `/autoresearch-lab` plus status/config/command paths
|
|
34
|
+
- `/advisor`, `/goal`, `/loop`, `/autoresearch`, `/autoresearch-lab` plus status/config/command paths (all provided via the bundle).
|
|
27
35
|
|
|
28
36
|
## Status
|
|
29
37
|
|
|
30
|
-
- **Published
|
|
31
|
-
-
|
|
32
|
-
|
|
38
|
+
- **Published:** yes (single artefact)
|
|
39
|
+
- The advisor and orchestration packages continue to receive code changes in this repo; they ship inside bundle releases via `bundledDependencies`.
|
|
40
|
+
|
|
41
|
+
## Release notes
|
|
42
|
+
|
|
43
|
+
Only `pi-rogue-bundle-<semver>` tags/releases are produced. See `docs/release.md` for the full clean policy and checklist.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# @fiale-plus/pi-rogue-advisor
|
|
2
|
+
|
|
3
|
+
> **Releases paused.** This package is now internal. All usage and updates are via the single consolidated `@fiale-plus/pi-rogue-bundle` artefact (see root README, `docs/release.md`, and AGENTS.md). Direct installs and independent releases are on pause; the package is marked private. Code here continues to evolve and ships inside bundle releases.
|
|
4
|
+
|
|
5
|
+
## What this package is
|
|
6
|
+
|
|
7
|
+
Strategic advisor for Pi sessions with low-overhead preflight/post-review routing, model auto-detection, session memory, and orchestration-managed mid-session check-ins.
|
|
8
|
+
|
|
9
|
+
- SOTA-first model fallback: `gpt-5.5`/`claude-opus-4-6`/`claude-sonnet-4-6` where available.
|
|
10
|
+
- Keeps command-level behavior simple and explicit.
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
**For users:** Use the bundle (releases for this package are paused):
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
pi install npm:@fiale-plus/pi-rogue-bundle
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**For local development (monorepo only):**
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npm install --workspace packages/advisor
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
(See root README and docs/release.md for the consolidated policy.)
|
|
27
|
+
|
|
28
|
+
## Commands
|
|
29
|
+
|
|
30
|
+
| Command | What it does |
|
|
31
|
+
|---|---|
|
|
32
|
+
| `/pi-rogue` | Show the Pi-Rogue cockpit + command pointers |
|
|
33
|
+
| `/advisor` | Show status (`/advisor status`) and quick hint |
|
|
34
|
+
| `/advisor status` | Show mode, review policy, check-in status, model selection, counters |
|
|
35
|
+
| `/advisor on` | Enable advisor (auto mode) |
|
|
36
|
+
| `/advisor off` | Disable advisor |
|
|
37
|
+
| `/advisor mode auto\|manual\|off` | Change routing behavior |
|
|
38
|
+
| `/advisor review light\|strict\|off` | Change review strictness |
|
|
39
|
+
| `/advisor pause <N>` | Pause advisor auto-runs for the next N turns |
|
|
40
|
+
| `/advisor unpause` | Resume advisor auto-runs immediately |
|
|
41
|
+
| `/advisor config` | Show current config |
|
|
42
|
+
| `/advisor model <provider>/<model>` | Set explicit model override |
|
|
43
|
+
| `/advisor <question>` | Get one-shot advisory response |
|
|
44
|
+
|
|
45
|
+
## Notes on defaults
|
|
46
|
+
|
|
47
|
+
- `mode`: `auto`
|
|
48
|
+
- `review`: `light`
|
|
49
|
+
- `checkins`: `off` (orchestration turns them on when a goal or loop is active)
|
|
50
|
+
- `checkinIntervalMinutes`: `30`
|
|
51
|
+
- `model`: not set (auto-detected)
|
|
52
|
+
- Successful `on_track` review verdicts are recorded silently instead of displayed as follow-up messages.
|
|
53
|
+
|
|
54
|
+
Check-ins gate on session activity and `checkinIntervalMinutes`, avoid overlapping calls, and use higher/advanced advisor models first with regular model fallback enabled by default. They are lifecycle-managed by orchestration: activating a goal or `/loop` enables them, and clearing either disables them.
|
|
55
|
+
|
|
56
|
+
## Stability guarantees
|
|
57
|
+
|
|
58
|
+
- No flattening: the advisor remains its own surface and does not hide orchestration commands.
|
|
59
|
+
- Cockpit is simple and explicit: `/pi-rogue` is the top-level status view.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, registerAdvisor } from "../src/extension.js";
|